/*
 * Copyright 2020, GeoSolutions Sas.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

// **************
// Theme
// **************

#gn-components-theme(@theme-vars) {
    .gn-footer {
        .color-var(@theme-vars[footer-color]);
        .background-color-var(@theme-vars[footer-bg]);
        a {
            .color-var(@theme-vars[footer-link-color]);
            text-decoration: none;

            &:hover {
                .color-var(@theme-vars[footer-link-hover-color]);
                text-decoration: none;
            }
        }
    }
}

// **************
// Layout
// **************

.gn-footer {
    position: fixed;
    bottom: 0;
    z-index: 150;
    padding: 0.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        margin: auto;
        li {
            padding: 0;
            margin: 0;
            font-size: @font-size-base * 0.78;
            padding: 0 0.5rem;
            min-width: 90px;
            text-align: center;
        }
    }
    .nav-link {
        padding: 0 0.5rem;
    }
}
